package network.protocol;
import java.util.Vector;

import network.RSocket;
import network.dataFormats.NetworkData;
public class VirtualServer {
	RSocket socket;
	public VirtualServer(RSocket socket) {
		this.socket = socket;
	}
	public void sendData(Vector<NetworkData> outgoing) {
		socket.sendData(outgoing);
	}
	public Vector<NetworkData> receiveData() {
		return socket.popData();
	}
}
